import request from '../request'

// 企业态势
export const getEnterpriseSituationInfo = (data: any) => {
  return request<any, true>({
    url: '/xrqlzx-dp/qyzgf/qyts/glfx',
    method: 'post',
    data
  })
}

// 企业态势-弹窗列表
export const getEnterpriseSituationList = (data: any) => {
  return request<any, true>({
    url: '/xrqlzx-dp/qyzgf/qyts/glfxlb',
    method: 'post',
    data
  })
}

// 行业管控柱状图
export const getIndustryCtrlChart = (data: any) => {
  return request<any, true>({
    url: '/xrqlzx-dp/qyzgf/qyts/hygk',
    method: 'post',
    data
  })
}

// 企业管控详情弹窗列表
export const getEnterpriseCtrlInfoList = (data: any) => {
  return request<any, true>({
    url: '/xrqlzx-dp/qyzgf/qyts/zdqy',
    method: 'post',
    data
  })
}

// 行业类别字典
export const getHylbDict = () => {
  return request<any, true>({
    url: '/xrqlzx-dp/qyzgf/yjgl/yjhyxl',
    method: 'post',
  })
}

// 企业类型字典
export const getQylxDict = () => {
  return request<any, true>({
    url: '/xrqlzx-dp/qyzgf/qyts/zdhyxl',
    method: 'post',
  })
}
